

const pinyin = require('pinyin');


const chineseChars = ['谁', '骆', '咯', '粑', '随', '扣', '按', '柜', '攰', '變', '弁'];


const result = chineseChars.map((ch) => pinyin(ch, { style: pinyin.STYLE_FIRST_LETTER })[0][0]);
console.log(' convert result ', result);